using SheLife.Domain.Entities;

namespace SheLife.Domain.Interfaces.Repositories
{
    /// <summary>
    /// 社区帖子统计仓储接口
    /// </summary>
    public interface ICommunityPostStatisticsRepository : IRepository<CommunityPostStatistics>
    {
        Task<IEnumerable<CommunityPostStatistics>> GetByPostIdAsync(Guid postId);
        Task<IEnumerable<CommunityPostStatistics>> GetByDateRangeAsync(DateTime startDate, DateTime endDate);
        Task<CommunityPostStatistics?> GetByPostIdAndDateAsync(Guid postId, DateTime date);
    }
}